//
//  XHFBaseModel.m
//  天气实验
//
//  Created by dllo on 16/3/8.
//  Copyright © 2016年 徐宏飞. All rights reserved.
//

#import "XHFBaseModel.h"


@implementation XHFBaseModel

//对象方法
-(instancetype)initWithDictionary:(NSDictionary *)dictionary{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}

//类方法
+ (instancetype)modelWithDictionary:(NSDictionary *)dictionary{
    return [[self alloc] initWithDictionary:dictionary];
}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}

@end
